IModel.GetDerivedFromRelationsOf method ¶
Namespace: NextDesign.Core
Description¶
If this model is an element derived from the specified model, get all its derived associations. For example, if this model is an element derived from {element A}, you can obtain its derivation association by specifying {element A} in the argument.
This can be used for the following processes. - When the request object and the specification object have a derivation relationship, acquire the relationship to the request object from the specification object side.
This method evaluates IContextOption.PlModelAccessMode.
Returns an empty collection if no such association exists.
argument¶
Name | Type | Description |
---|---|---|
opposite | IModel | Other model null cannot be specified. |
Return value¶
- IRelationshipCollection
Exception¶
Name | Exception Class | Description |
---|---|---|
Invalid argument | ExtensionArgumentException | If null is specified for opposite |